<style type="text/css">
    legend.contest_legend{
        font-size: 14px;
        font-weight: bolder;
        padding: 3px;
    }
    .wp-media-buttons a {
        position: absolute;
        margin-top: -20px;
    }
</style>
<script type="text/javascript" >    
    stContestToolbox.on_submitform('#stContestToolbox');
</script>
<div class="w100p bgl">
    <div class="w100p bgr">

        <div class="inner_container" style="height: auto;">
           <form class="stform" id="stContestToolbox" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >
            <ul id="form" >
                <li>
                    <!--
                    <label><?php _e('Notify email', $config['plugin_name']); ?>:</label>
                    <div class="required">
                        <input value="<?php echo $option->notify_email ?>" class="required email" name="data[notify_email]" id="notify_email" type="text"/>
                    </div>
                    <br clear="both" />
                    -->
                    <label><?php _e('No active contest text', $config['plugin_name']); ?>:</label>
                    <br clear="both" />
                    <?php
                    $functions->customEditor(stripslashes($data['noactivetext']),'noactivetext');
                    ?>
                    <!-- resize field -->
                    <script type="text/javascript">
                        function resizefornoactivetextEditor(){
                            var f = document.getElementById("data[noactivetext]_ifr");
                            if(f == null) {
                                setTimeout("resizefornoactivetextEditor()", 1000);
                            } else {
                                f.style.height = "350px";
                            }                            
                        }
                        resizefornoactivetextEditor();                        
                        
                    </script>
                </li>
                <br clear="both" />
                <li>
                    <input type="submit" value="Save"/>
                </li>
            </ul>

        </form>
            

        </div>
    </div>
</div>